<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import EMPlanEquipGridView9Base from './emplan-equip-grid-view9-base.vue';

import view_grid from '@widgets/emplan/main3-grid/main3-grid.vue';

/**
 * 计划表格视图
 *
 * @export
 * @class EMPlanEquipGridView9
 * @extends {EMPlanEquipGridView9Base}
 */
@Component({
    components: {
        view_grid, 
    },
    beforeRouteEnter: (to: any, from: any, next: any) => {
        next((vm: any) => {
            if(!Object.is(vm.navModel,"route")){
                vm.initNavDataWithTab(vm.viewCacheData);
            }
            vm.$store.commit('addCurPageViewtag', { fullPath: to.fullPath, viewtag: vm.viewtag });
        });
    },
})
export default class EMPlanEquipGridView9 extends EMPlanEquipGridView9Base { }
</script>